/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2018 All Rights Reserved.
 */
package com.antcloud.demo.antscheduler.nine1nine;

import java.util.Date;

/**
 *
 * @author qian.lqlq
 * @version $Id: Bill.java, v 0.1 2018年09月05日 21:32 qian.lqlq Exp $
 */
public class Bill {

    private String userId;

    private Long   income;

    private Long   expand;

    private Long   balance;

    private String date;

    public Bill() {
    }

    public Bill(String userId, String date) {
        this.userId = userId;
        this.expand = 0L;
        this.income = 0L;
        this.balance = 0L;
        this.date = date;
    }

    public void addExpand(long amount) {
        this.expand += amount;
    }

    public void addIncome(long amount) {
        this.income += amount;
    }

    public void addBalance(long amount) {
        this.balance += amount;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getIncome() {
        return income;
    }

    public void setIncome(Long income) {
        this.income = income;
    }

    public Long getExpand() {
        return expand;
    }

    public void setExpand(Long expand) {
        this.expand = expand;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}